/**
 * 
 */
package com.hk.Mgr.web.message.sys;

import javax.persistence.Column;
import javax.persistence.Id;

/**
 * @author baiht
 *
 */
public class SysResourceRes {

	@Id
	@Column(name = "Id", length = 20)
	private Long id;
	 
	private String name;

	 
	private String descp;

	 
	private String code;

	 
	private String uri;

	/**父节点 */
	private Long parentId;
	
	private String parentName;
	
	/**树节点 */
	private Integer levelId;
	
	/**资源类型： 1菜单	2按钮*/
	private Short resType;
	
	/**标示一组资源*/
	private String resFlag;
	
	 
	private Long createdts;

	private String creator;

	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescp() {
		return descp;
	}

	public void setDescp(String descp) {
		this.descp = descp;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	
	public Integer getLevelId() {
		return levelId;
	}

	public void setLevelId(Integer levelId) {
		this.levelId = levelId;
	}

	public Short getResType() {
		return resType;
	}

	public void setResType(Short resType) {
		this.resType = resType;
	}

	public String getResFlag() {
		return resFlag;
	}

	public void setResFlag(String resFlag) {
		this.resFlag = resFlag;
	}

	public Long getCreatedts() {
		return createdts;
	}

	public void setCreatedts(Long createdts) {
		this.createdts = createdts;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
}
